package com.nervenets.web.controller.order;

import com.nervenets.web.controller.TokenParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class OrderFinishedParams extends TokenParams {
    @ApiModelProperty(value = "订单ID", required = true)
    @Positive(message = "请选择正确的订单ID")
    private long orderId;
    @ApiModelProperty(value = "备注")
    private String remark;
}
